package com.yyw.gulimall.member.feign;

import com.yyw.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 *  @author: YiYuWei
 *  @Date: 2020/10/24 16:08
 *  @Description: 远程调用 优惠券服务的 Feign
 */
@FeignClient(value = "gulimall-coupon")
public interface CouponFeiogn {

    @RequestMapping("/coupon/coupon/list")
    R list(@RequestParam Map<String, Object> params);
}
